All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.server.util.URLDecoder

java.lang.Object
   |
   +----sun.server.util.URLDecoder

public class URLDecoder
extends Object
The class contains a utility method for converting from a MIME format called "x-www-form-urlencoded" to a String format. To convert to a String, each character is examined in turn: If the character is a %, the next two characters are interpreted as a hexadecimal number, and the next character of the string is set to that value. If the character is a +, the next character in the string is set to a space. If the character is not % or +, it is passed to the string unchanged.


Constructor Index

 o URLDecoder()

Method Index

 o decode(String)
decode a URLencoded string, so we may use it as a URL

Constructors

 o URLDecoder
 public URLDecoder()

Methods

 o decode
 public static String decode(String encoded)
decode a URLencoded string, so we may use it as a URL


All Packages  Class Hierarchy  This Package  Previous  Next  Index